package com.hzdl.apple.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {

	private static String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
	private static SimpleDateFormat sdf;

	/**
	 * 获取当前时间
	 * @return
	 */
	public static String getNowTime() {
		sdf = new SimpleDateFormat(YYYY_MM_DD_HH_MM_SS);
		return sdf.format(new Date());
	}

}
